package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.NumberAutoConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("我的页面实体")
@Data
public class MineVO extends VipLevelVO {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像")
    private String avatarurl;

    @ApiModelProperty("松果数量")
    @NumberAutoConvert
    private Integer pinecone;

    @ApiModelProperty("松子数量")
    @NumberAutoConvert
    private Integer pineNut;

    @ApiModelProperty("本周可领松果数")
    @NumberAutoConvert
    private Integer weekPinecone = 0;

    @ApiModelProperty("下周可领松果数")
    @NumberAutoConvert
    private Integer nextWeekPinecone = 0;

}
